const system = {
  path: '/system',
  meta: { title: '系统设置' },
  component: () => import('@/apps/admin/Layout/Layout.vue'),
  children: [
    {
      path: '/system/admin',
      meta: { title: '管理员', icon: 'people' },
      name: 'SystemAdmin',
      component: () => import('@/apps/admin/views/system/Admin.vue')
    },
    {
      path: '/system/log',
      meta: { title: '管理员日志', icon: 'history' },
      component: () => import('@/apps/admin/Layout/Layout.vue'),
      children: [
        { path: 'admin', name: 'SystemLogsAdmin', meta: { title: '登录日志' }, component: () => import('@/apps/admin/views/system/logs/LoginLog.vue') },
        { path: 'operation', name: 'SystemLogsOperation', meta: { title: '操作日志' }, component: () => import('@/apps/admin/views/system/logs/OperationLog.vue') }
      ]
    },
    {
      path: '/system/attachment',
      meta: { title: '附件管理', icon: 'attach_file' },
      name: 'SystemAttachment',
      component: () => import('@/apps/admin/views/system/Attachment.vue')
    },
    {
      path: '/system/config',
      meta: { title: '后台参数', icon: 'settings' },
      name: 'SystemConfig',
      component: () => import('@/apps/admin/views/system/Config.vue')
    },
    {
      path: '/system/info',
      meta: { title: '系统信息', icon: 'info' },
      name: 'SystemInfo',
      component: () => import('@/apps/admin/views/system/Info.vue')
    },
    {
      path: '/system/backup',
      meta: { title: '数据备份', icon: 'backup' },
      name: 'SystemBackup',
      component: () => import('@/apps/admin/views/system/Backup.vue')
    },
    {
      path: '/system/adminer',
      meta: { title: 'Adminer', icon: 'update' },
      name: 'SystemAdminer',
      component: () => import('@/apps/admin/views/system/Adminer.vue')
    },
    {
      path: '/system/manual',
      meta: { title: '操作手册', icon: 'help_outline' },
      name: 'SystemManual',
      component: () => import('@/apps/admin/views/system/Manual.vue')
    },
    {
      path: '/system/cache',
      meta: { title: '后台缓存', icon: 'cached' },
      name: 'SystemCache',
      component: () => import('@/apps/admin/views/system/Cache.vue')
    },
    {
      path: 'notice',
      meta: { title: '消息通知', icon: 'notifications' },
      name: 'SystemNotice',
      component: () => import('@/apps/admin/views/system/Notice.vue')
    },
    {
      path: '/system/update',
      meta: { title: '更新日志', icon: 'update' },
      name: 'SystemUpdateLog',
      component: () => import('@/apps/admin/views/system/UpdateLog.vue')
    }
  ]
}
export default system
